package com.woniuxy.yoga.admin.model.form.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("新增二级菜单参数对象")
public class AddSeconMenuForm {
    @ApiModelProperty("菜单名")
    @NotBlank
    private String menuName;
    @ApiModelProperty("菜单路径")
    @NotBlank
    private String menuPath;
    @ApiModelProperty("父级菜单ID")
    @NotNull
    private Integer parentId;
}
